package com.chushouya.order.service.api;


import com.chushouya.order.constants.UserOrderActionEnum;
import com.chushouya.order.dao.entity.OrderEntity;
import com.chushouya.order.dto.admin.order.UserOrderAction;

import java.util.List;

/**
 * 业务员订单操作业务
 */
public interface UserOrderActionCtrlService {

    /**
     * 订单操作业务
     */
    List<UserOrderAction> orderActions(String orderNo);

    /**
     * 订单操作许可验证
     * @param orderAction 操作
     * @param orderEntity 订单
     */

    void actionExecuteCheck(UserOrderActionEnum orderAction, OrderEntity orderEntity);

}
